import request from '@/utils/requestUtil'

export function updatePetlost(data) {
	return request({
		method: 'PUT',
		url: '/pet/petlost',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		data: data
	})
}

// 根据ID获取丢失宠物详情
export function getPetLostDetailById(id) {
	return request({
		method: 'GET',
		url: '/pet/petlost/' + id,
		header: {
			'content-type': 'application/json;charset=utf-8'
		}
	})
}